package com.ngm.tea.tea.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * 商品评论实体
 * @author zjw
 * @version 1.0
 * @date 2017-01-03 16:18:48
 *
 */
@JsonIgnoreProperties(value = {"foods","id"}) 
public class Ratings {
	/** 商品实例 */
	private Foods foods;
	
	/** 标识 */
	private Integer id;
	
	/** 用户名 */
	private String username;
	
	/** 时间 */
	private String rateTime;
	
	/** 类型 */
	private String rateType;
	
	/** 内容 */
	private String text;
	
	/** 头像 */
	private String avatar;
	
	public Ratings() {
	}
	
	public Foods getFoods() {
		return this.foods;
	}

	public void setFoods(Foods foods) {
		this.foods = foods;
	}
	
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getRateType() {
		return this.rateType;
	}

	public void setRateType(String rateType) {
		this.rateType = rateType;
	}
	
	public String getText() {
		return this.text;
	}

	public void setText(String text) {
		this.text = text;
	}
	
	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
	
	public String getRateTime() {
		return this.rateTime;
	}

	public void setRateTime(String rateTime) {
		this.rateTime = rateTime;
	}
	
	public String getAvatar() {
		return this.avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	
}